a4519f012f682daafe61336dacc6ca4a0988e7d2,src/main/java/uk/co/jemos/podam/api/PodamFactoryImpl.java,PodamFactoryImpl,resolveArrayElementValue,#Object#ManufacturingContext#AttributeMetadata#Map#,1527

Before Change


		for (int i = 0; i < nbrElements; i++) {

			// The default
			if (null != elementStrategy
					&& (!(elementStrategy instanceof ObjectStrategy)
							|| componentType.isAssignableFrom(Object.class))) {

				arrayElement = TypeManufacturerUtil.returnAttributeDataStrategyValue(componentType,
						elementStrategy);
			} else {

				arrayElement = manufactureAttributeValue(array, manufacturingCtx,

After Change


		for (int i = 0; i < nbrElements; i++) {

			// The default
			Object arrayElement = TypeManufacturerUtil.returnAttributeDataStrategyValue(componentType,
						elementStrategy);

			if (null == arrayElement) {
				arrayElement = manufactureAttributeValue(array, manufacturingCtx,
						componentType, genericComponentType,
						attributeMetadata.getAttributeAnnotations(),